<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <title>装饰器</title>
    </head>
    <body>
        <h1>装饰器</h1>
        <h1>使用 typescript 转化</h1>
        <h1>tsc demo.ts</h1>
        <script src="demo.js"></script>
        <script>
            var hei = new Dog();
            hei.hello();
            hei.hello();
            hei.hello();
        </script>
    </body>
</html>
